﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hbse.Entities
{
    public class NameplatePacking : EntityBindable
    {
        private Orders order;
        private Product product;
        private IList<NameplatePackingPrint> nameplatePackingPrints;
        private string lotNo;
        private string packingRq;
        private string rqRd;
        private string rqPcsPerUnit;
        private string rqUnitPerPack;
        private string rqPcsOver;
        private string inspectBy;
        private int printNum;

        private Users user;
        private DateTime? addDate;
        private string status;

        public virtual Orders Orders
        {
            get { return order; }
            set
            {
                if (!Equals(order, value))
                {
                    order = value;
                    NotifyPropertyChanged("Order");
                }
            }
        }

        public virtual Product Product
        {
            get { return product; }
            set
            {
                if (!Equals(product, value))
                {
                    product = value;
                    NotifyPropertyChanged("Product");
                }
            }
        }


        public virtual IList<NameplatePackingPrint> NameplatePackingPrints
        {
            get { return nameplatePackingPrints; }
            set
            {
                if (!Equals(nameplatePackingPrints, value))
                {
                    nameplatePackingPrints = value;
                    NotifyPropertyChanged("NameplatePackingPrints");
                }
            }
        }

        public virtual string LotNo
        {
            get { return lotNo; }
            set
            {
                if (lotNo != value)
                {
                    lotNo = value;
                    NotifyPropertyChanged("LotNo");
                }
            }
        }


        public virtual string PackingRq
        {
            get { return packingRq; }
            set
            {
                if (packingRq != value)
                {
                    packingRq = value;
                    NotifyPropertyChanged("PackingRq");
                }
            }
        }

        public virtual string RqRd
        {
            get { return rqRd; }
            set
            {
                if (rqRd != value)
                {
                    rqRd = value;
                    NotifyPropertyChanged("RqRd");
                }
            }
        }
        public virtual string RqPcsPerUnit
        {
            get { return rqPcsPerUnit; }
            set
            {
                if (rqPcsPerUnit != value)
                {
                    rqPcsPerUnit = value;
                    NotifyPropertyChanged("RqPcsPerUnit");
                }
            }
        }
        public virtual string RqUnitPerPack
        {
            get { return rqUnitPerPack; }
            set
            {
                if (rqUnitPerPack != value)
                {
                    rqUnitPerPack = value;
                    NotifyPropertyChanged("RqUnitPerPack");
                }
            }
        }

        public virtual string RqPcsOver
        {
            get { return rqPcsOver; }
            set
            {
                if (rqPcsOver != value)
                {
                    rqPcsOver = value;
                    NotifyPropertyChanged("RqPcsOver");
                }
            }
        }
        public virtual string InspectBy
        {
            get { return inspectBy; }
            set
            {
                if (inspectBy != value)
                {
                    inspectBy = value;
                    NotifyPropertyChanged("InspectBy");
                }
            }
        }

        public virtual int PrintNum
        {
            get { return printNum; }
            set
            {
                if (printNum != value)
                {
                    printNum = value;
                    NotifyPropertyChanged("PrintNum");
                }
            }
        }


        public virtual Users Users
        {
            get { return user; }
            set
            {
                if (!Equals(user, value))
                {
                    user = value;
                    NotifyPropertyChanged("User");
                }
            }
        }
        public virtual DateTime? AddDate
        {
            get { return addDate; }
            set
            {
                if (addDate != value)
                {
                    addDate = value;
                    NotifyPropertyChanged("AddDate");
                }
            }
        }
        public virtual string Status
        {
            get { return status; }
            set
            {
                if (status != value)
                {
                    status = value;
                    NotifyPropertyChanged("Status");
                }
            }
        }

    }
}
